package com.itheima.zuoye2.zy1;

import java.util.HashMap;
import java.util.HashSet;

public class Test {
    public static void main(String[] args) {
        HashSet<Roommate> set = new HashSet<>();
        set.add(new Roommate("赵丽颖", 18));
        set.add(new Roommate("范冰冰", 20));
        set.add(new Roommate("杨幂", 19));
        set.add(new Roommate("杨幂", 19));
        System.out.println("我的室友是"+ set);
    }

}
